package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.pojo.SysOffice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.vo.SysOfficeVo;

import java.util.Map;

/**
 * <p>
 * 机构表 服务类
 * </p>
 *
 * @author lyj
 * @since 2023-02-15
 */
public interface ISysOfficeService extends IService<SysOffice> {

    //根据条件查询
    Page<SysOfficeVo> queryByCondition(Page<SysOfficeVo> page, Map<String, Object> map);

    //根据userId查询
    SysOffice queryByUserId(Long createUserId);
}
